package com.axjy.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class User {

  private long id;
  private String name;
  private String sex;
  private String phone;
  private String password;
  private String email;
  private long jid;
  private String remark;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date createTime;

  @Override
  public String toString() {
    return "User{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", sex='" + sex + '\'' +
            ", phone='" + phone + '\'' +
            ", password='" + password + '\'' +
            ", email='" + email + '\'' +
            ", jid=" + jid +
            ", remark='" + remark + '\'' +
            ", createTime=" + createTime +
            '}';
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }


  public long getJid() {
    return jid;
  }

  public void setJid(long jid) {
    this.jid = jid;
  }


  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }


}
